/*
 * Copyright (c)  2018, Marmot
 * All rights reserved. 
 *
 * Id:RedisService.java   2018-06-11 17:25 wanglijun
 */
package io.marmot.core;

import java.util.List;
import java.util.Set;

/**
 * <p>
 * Title:
 * </p>
 * <p>
 * Description:
 * </p>
 * <p>
 * Copyright: Copyright (c) 2018
 * </p>
 * <p>
 * Company: Marmot
 * </p>
 *
 * @author: wanglijun
 * @create: 2018-06-11 17:25
 * @version：1.0
 */
public interface RedisService<T> {

    String getRedisKey();


    void put(String key,T doamin, Long expire);

    void remove(String key);

    T get(String Key);

    List<T> getAll();

    Set<String> getKeys();

    Boolean isKeyExists(String key);

    Long count();

    void clear();
}
